﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ColorApplication
{
    public partial class Default1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //if (!IsPostBack)
            //{
            //    string pageName = Request.Url.LocalPath.Replace("/", "").Replace(".aspx", string.Empty);
            //    litText.Text = Common.GetTextByPageName(pageName);
            //}
            if (!IsPostBack)
            {
                Panel pnlHomeImage = Page.Master.FindControl("pnlHomeImage") as Panel;
                Panel pnlOther = Page.Master.FindControl("pnlOther") as Panel;
                pnlHomeImage.Visible = true;
                pnlOther.Visible = false;
            }
        }
    }
}